export default {
  title: {
    text: '植物胸径统计'
  },
  tooltip: {},
  xAxis: {
    data: ['0-5cm', '11-15cm', '21-25cm', '31-35cm']
  },
  yAxis: {},
  series: [
    {
      name: '销量',
      type: 'bar',
      data: [5, 20, 36, 10],
      barWidth: 30,
      itemStyle: {
        normal: {
          color: function (params) {
            const colorList = ['#c23531', '#c23531', '#c23531', '#c23531']
            return colorList[params.dataIndex]
          }
        }
      }
    }
  ]
}
